package com.ieasy.module.system.web.form;

import java.io.Serializable;

import com.ieasy.basic.model.EasyuiTree;

public class VoteForm  extends EasyuiTree<VoteForm> implements Serializable  {

	private static final long serialVersionUID = 1L;

	private String subject ;
	
	private Integer sum  ;
	
	private Integer weight ;
	
	/** 是否主标题 */
	private Boolean isTitle = Boolean.TRUE ;
	
	/** true：关闭投票 */
	private boolean status = Boolean.TRUE ;
	
	/** 总票数 */
	private Integer totalVote ;
	
	private String percent ;

	private String ip ;
	
	/** 投票类型：true为多选，false为当选 */
	private boolean voteType ;
	
	//单选投票
	private String pvid ;
	
	//多选投票
	private String vid ;
	
	private String ctx ;
	
	
	public String getCtx() {
		return ctx;
	}

	public void setCtx(String ctx) {
		this.ctx = ctx;
	}

	public boolean isVoteType() {
		return voteType;
	}

	public void setVoteType(boolean voteType) {
		this.voteType = voteType;
	}

	public String getPvid() {
		return pvid;
	}

	public void setPvid(String pvid) {
		this.pvid = pvid;
	}

	public String getVid() {
		return vid;
	}

	public void setVid(String vid) {
		this.vid = vid;
	}

	public String getPercent() {
		return percent;
	}

	public void setPercent(String percent) {
		this.percent = percent;
	}
	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}


	public Integer getTotalVote() {
		return totalVote;
	}

	public void setTotalVote(Integer totalVote) {
		this.totalVote = totalVote;
	}


	private String pid ;

	public Boolean getIsTitle() {
		return isTitle;
	}

	public void setIsTitle(Boolean isTitle) {
		this.isTitle = isTitle;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

	public String getSubject() {
		return subject;
	}

	public void setSubject(String subject) {
		this.subject = subject;
	}

	public Integer getSum() {
		return sum;
	}

	public void setSum(Integer sum) {
		this.sum = sum;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}

	public String getPid() {
		return pid;
	}

	public void setPid(String pid) {
		this.pid = pid;
	}
	
}
